package com.cloudkinto.service.mail.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class SendMailReq {
    @ApiModelProperty("模板id")
    private Long templateId;
    @ApiModelProperty("订单id")
    private Long orderId;
    @ApiModelProperty("收件人")
    private  String receiver;

    @ApiModelProperty("平台单号")
    private  String platformOrderNo;

    @NotEmpty(message = "请输入邮箱抬头")
    private String mailNo;

    @NotEmpty(message = "请输入邮箱账号")
    private String user;
    @NotEmpty(message = "请输入邮箱密钥")
    private String password;
    @ApiModelProperty("发件时昵称")
    private String nick;
    @ApiModelProperty("邮件订单绑定的店铺")
    private Long storeId;
    @ApiModelProperty("非必填， 高级设置才可选填")
    private String smtp;
    @ApiModelProperty("非必填， 高级设置才可选填")
    private String imap;
    @ApiModelProperty("端口号")
    private String port;
    @ApiModelProperty("邮件标题")
    private String title;
    @ApiModelProperty("位置类型")
    private int emailTitleType;
    @ApiModelProperty("时间戳")
    private Long timesStamp;
    private Long id;
}
